﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IChucVu
    {
        [OperationContract]
        IEnumerable<CHUCVU> GetByAllChucVu();

        [OperationContract]
        String InsertChucVu(CHUCVU data);

        [OperationContract]
        String UpdateChucVu(CHUCVU data);

        [OperationContract]
        String DeleteChucVu(string id);

        [OperationContract]
        IEnumerable<CHUCVU> GetByTopChucVu(string _top, string _where, string _order);

        [OperationContract]
        String ApproveChucVu(CHUCVU data);
    }
}
